.TH "STRSPLIT" 3 "Sat Sep 23 2023" "My Project" \" -*- nroff -*-
.ad l
.nh
.SH NAME
strsplit \-  对原字符串以给定的分隔符进行分割 

.SH SYNOPSIS
.br
.PP
\fC#include <cstring-extension\&.h>\fP
.br

.SS "Functions"
.SS "static char** strsplit (char * str, char delim)\fC [inline]\fP, \fC [static]\fP"

.PP
对原字符串以给定的分隔符进行分割，注意该函数会修改原字符串 
.PP
\fBParameters\fP
.RS 4
\fIstr\fP 需要分割的字符串 
.br
\fIdelim\fP 分隔符 
.RE
.PP
\fBReturns\fP
.RS 4
char** 分割后的字符串列表，以NULL结尾。存储分割后所有字符串的字符串列表本身是由alloc申请的内存，因此当使用 完成后应当被free；而分割出来的各个字符串不是申请的内存，而是分别指向了原字符串中的特定位置，因此他们不需要被分别free 
.RE
.PP

.PP
References strcounts()\&.
.SH "Detailed Description"
.PP 
接口的主要功能是对原字符串以给定的分隔符进行分割，注意该函数会修改原字符串 
.SH "CONFORMING TO"
These functions are as per the withdrawn POSIX.1e draft specification.
The following functions are Linux extensions:
.BR strstrip (),
.BR strstripspace (),
.BR strstripblank (),
.BR strskipspace (),
.BR strskipblank (),
.BR str2upper (),
.BR str2lower (),
.BR strfirstof (),
.BR strlastof (),
.BR strstartswith (),
.BR strstartswith_nocase (),
.BR strendwith ()
and
.BR strcounts ().
.SH "SEE ALSO"
.BR strstrip (3),
.BR strstripspace (3),
.BR strstripblank (3),
.BR strskipspace (3),
.BR strskipblank (3),
.BR str2upper (3),
.BR str2lower (3),
.BR strfirstof (3),
.BR strlastof (3),
.BR strstartswith (3),
.BR strstartswith_nocase (3),
.BR strendwith (3)
and
.BR strcounts (3).

.SH "Author"
.PP 
Generated automatically by Doxygen for cstring-extension.h from the source code\&.
